#include <stdio.h>
#include <ctype.h>

int main(){
    int uppers = 0;
    int lowers = 0;
    char c;
    while ((c=getchar())!=EOF) {
        if (islower(c)){
            lowers++;
        }
        if (isupper(c)){
            uppers++;
        }
    }
    printf("大写字母个数:%d,小写字母个数:%d", uppers, lowers);
}